package com.rms.server.Domain;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;


@Alias("dish")
@Getter
@Setter
@Schema(name = "Dish", description = "菜品信息实体")  // 为类添加注解，描述类的用途
public class Dish {

    @Schema(description = "菜品的唯一标识符")  // 为字段添加描述
    private Long dishId;

    @Schema(description = "菜品的名称")  // 为字段添加描述
    private String dishName;

    @Schema(description = "菜品分类")  // 为字段添加描述
    private String category;

    @Schema(description = "菜品的详细描述")  // 为字段添加描述
    private String dexcription;

    @Schema(description = "菜品的价格")  // 为字段添加描述
    private Double price;
}
